package top.ranzhang.service;

import top.ranzhang.bean.entity.Enrollments;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface IEnrollmentsService extends IService<Enrollments> {

    Enrollments getById(Long id);
    List<Enrollments> getAll();
    void MIave(Enrollments enrollment);
    void update(Enrollments enrollment);
    void delete(Long id);
}
